﻿
<section id ="bottombox2">
    <section class="left">
    @using (Html.BeginForm("RedirectCreate", "Student", FormMethod.Post))
    {
        <p>Fully Enroll: <br />
        $@ViewData["FullPrice"] for entire course<br />
        @ViewData["FAddInfo"]</p>
        <input type="hidden" name="paymentId" value="@ViewData["FPID"]" />
        <input type="hidden" name="courseId" value="@ViewData["courseId"]" />
        <input type="submit" value="Enroll Now" />
    }
    </section>
    <section class="right">
    @using (Html.BeginForm("RedirectCreate", "Student", FormMethod.Post))
    {
        <p>Weekly Enroll: <br />
            $@ViewData["WeekPrice"] per week for @ViewData["WeekDuration"] weeks<br />
        @ViewData["WAddInfo"]</p>
        <input type="hidden" name="paymentId" value="@ViewData["WPID"]">
        <input type="hidden" name="courseId" value="@ViewData["courseId"]" />
        <input type="submit" value="Enroll Now" />
    }
    </section>
</section>